home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / public / ImageMagick / magick / utility.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-08-02  |  1.1 KB  |  48 lines

  1. #ifndef vms
  2. #ifndef NoDIRENT
  3. #include <dirent.h>
  4. #else
  5. #include <sys/dir.h>
  6. #ifndef dirent
  7. #define dirent direct
  8. #endif
  9. #endif
  10. #endif
  11. #ifndef S_ISDIR
  12. #define S_ISDIR(mode) (((mode) & S_IFMT) == S_IFDIR)
  13. #endif
  14. /*
  15.   Utility define declarations.
  16. */
  17. #define DirectorySeparator  "/"
  18.  
  19. /*
  20.   Utilities routines.
  21. */
  22. extern char
  23.   **StringToList _Declare((char *)),
  24.   **ListFiles _Declare((char *,char *,int *));
  25.  
  26. extern int
  27.   GlobExpression _Declare((char *,char *)),
  28.   ReadDataBlock _Declare((char *,FILE *));
  29.  
  30. extern unsigned int
  31.   ReadData _Declare((char *,int,int,FILE *));
  32.  
  33. extern unsigned long
  34.   LSBFirstReadLong _Declare((FILE *)),
  35.   MSBFirstReadLong _Declare((FILE *));
  36.  
  37. extern unsigned short
  38.   LSBFirstReadShort _Declare((FILE *)),
  39.   MSBFirstReadShort _Declare((FILE *));
  40.  
  41. extern void
  42.   LSBFirstWriteLong _Declare((unsigned long,FILE *)),
  43.   LSBFirstWriteShort _Declare((unsigned int,FILE *)),
  44.   MSBFirstOrderLong _Declare((char *,unsigned int)),
  45.   MSBFirstOrderShort _Declare((char *,unsigned int)),
  46.   MSBFirstWriteLong _Declare((unsigned long,FILE *)),
  47.   MSBFirstWriteShort _Declare((unsigned int,FILE *));
  48.